<!--page start-->
<div class="page-content">
	<div class="container-fluid">
		<!--pageHeader start-->
		<div class="row-fluid titleBox">
			<h3 class="page-title pull-left"><?php echo $moudle_name;
			?></h3>
			<!--breadcrumb start-->
			<ul class="breadcrumb pull-right">
				<li>
					<i class="icon-circle-arrow-left"></i>
					<span>管理中心</span>
					<i class="icon-angle-right"></i>
				</li>
				<li>
					<a href="index"><?=$moudle_name
					?></a>
					<i class="icon-angle-right"></i>
				</li>
				<li>
					<a href="index"><?=$action_name
					?></a>
				</li>
			</ul>
			<!--breadcrumb over-->
		</div>
		<!--pageHeader over-->
		<!--container start-->
		<div class="row-fluid">
			<div class="span12">
				<div class="portlet">
					<div class="portlet-body">
						<div id="sample_1_wrapper" class="dataTables_wrapper form-inline" role="grid">
							<div class="row-fluid">
								<div class="span6">
									<div class="dataTables_filter" id="sample_1_filter">
										
										<form action="<?php echo base_url();?>admin/admin/index" method="get">
										<label>搜索：
											<input type="text" aria-controls="sample_1" class="m-wrap" placeholder="请输入用户名" name="user_name" value="<?=$search['user_name']; ?>"  >
											
											<button type="submit" class="btn blue" name="submit" > 查询</button>

										</label>
										</form>

										
									</div>
									<div class="dataTables_filter" id="sample_1_filter">
										
											
										
									</div>
								</div>
								<div class="span6 tablePageBtnBox">
									<a href="<?php echo site_url();?>admin/admin/add" class="btn blue"><i class="icon-plus"></i>添加员工</a>
								</div>
							</div>
							<table class="table table-striped table-bordered table-hover table-full-width" id="sample_1">
								<thead>
									<tr>
										<th>管理员编号</th>
										<th class="hidden-480">登录名称</th>
										
										<th style="width: 15%;" colspan="2">相关操作</th>
									</tr>
								</thead>
								<tbody>
									<?php foreach ($list as $item):
									?>
									<tr>
										<td><?php echo $item['id'];?></td>
										<td><?php echo $item['user_name'];?></td>
										
										<td><a href="<?php echo site_url().'admin/admin/edit/'; ?><?=$item['id']?>">修改</a></td>
										<td><a href="<?php echo site_url().'admin/admin/delete/'; ?><?=$item['id']?>">删除</a></td>
									</tr>
									<?php endforeach;?>
								</tbody>
							</table>
							<!--// pages start-->
						
							<div class="row-fluid">
								<div class="span6">
									
									<div class="dataTables_info" id="sample_1_info">
										共<?php echo $total_num;  ?>条数据
									</div>
								</div>
								<div class="span6">
									<?php echo $pages;?>
									
								</div>
							</div>
							<!--// pages over-->
						</div>
					</div>
				</div>
			</div>
			<!--container over-->
		</div>
	</div>
	<!--page over-->
